<!DOCTYPE html>
<html class="x-admin-sm">
{% load staticfiles %}
<head>
    <meta charset="UTF-8">
    <title>
        {% block title %}
            企小宝-后台管理系统
        {% endblock %}
    </title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport"
          content="width=device-width,user-scalable=yes, minimum-scale=0.4, initial-scale=0.8,target-densitydpi=low-dpi"/>
    <link rel="stylesheet" href="{% static 'css/font.css' %}">
    <link rel="stylesheet" href="{% static 'css/xadmin.css' %}">
    <link rel="stylesheet" href="{% static 'css/theme1212.min.css' %}">
    <script type="text/javascript" src="{% static 'lib/layui/layui.js' %}" charset="utf-8"></script>
    <script type="text/javascript" src="{% static 'js/jquery.min.js' %}" charset="utf-8"></script>
    <script type="text/javascript" src="{% static 'lib/jquery.serializejson.min.js' %}" charset="utf-8"></script>
    <script type="text/javascript" src="{% static 'lib/jquery.form.js' %}" charset="utf-8"></script>
    <script type="text/javascript" src="{% static 'lib/jquery.qrcode.min.js' %}" charset="utf-8"></script>
    <script type="text/javascript" src="{% static 'lib/jquery.cookie.js' %}" charset="utf-8"></script>
    <script type="text/javascript" src="{% static 'js/xadmin.js' %}"></script>
    <script type="text/javascript" src="{% static 'js/qixiaobao.js' %}"></script>
    <!-- 让IE8/9支持媒体查询，从而兼容栅格 -->
    <!--[if lt IE 9]>
            <script src="https://cdn.staticfile.org/html5shiv/r29/html5.min.js"></script>
            <script src="https://cdn.staticfile.org/respond.js/1.4.2/respond.min.js"></script>
        <![endif]--></head>
<style>
    .cover_all {
        position: fixed;
        justify-content: center;
        align-items: center;
        display: flex;
        flex-wrap: wrap;
        width: 100%;
        height: 100%;
        z-index: 10;
        background: rgba(0, 0, 0, 0.7)
    }

    .close_btn_div {
        position: fixed;
        top: 100px;
        right: 50px;
        width: 30px;
        height: 30px;
    }

    .close_btn {
        width: 100%;
        height: 100%;
    }

    .wechat_info {
        color: white;
        margin: auto;
        padding-bottom: 20px;
        font-weight: 500;
        font-size: 1.5rem;
    }

    .alert_qrcode {
        position: fixed;
        overflow: auto;
        display: block;
        margin-top: 70px;
    }

    canvas {
        margin-bottom: 150px;
    }
</style>
<body>
<div class="cover_all">
    <div class="close_btn_div">
        <img src="{% static 'images/close.png' %}" class="close_btn"
             onclick="$('.cover_all').slideUp(50);$('canvas').remove()">
    </div>
    <div class="alert_qrcode">
        <p class="wechat_info">微信扫码查看活动</p>
        <br>
    </div>
</div>
<script>
    $('.cover_all').hide();
</script>
{% block content %}
    {#    主体内容#}
{% endblock %}
</body>

</html>